//1.设置fckeditor不自动检测语言
//FCKConfig.AutoDetectLanguage=false;	

//2.在fckconfig.js中指定要使用的配置文件是myconfig.js

//3.自定义ToolbarSet，去掉一些功能  'Source',
FCKConfig.ToolbarSets["mySet"] = [
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
	['Link','Unlink','Anchor'],
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
	'/',
	['Style','FontFormat','FontName','FontSize'],
	['TextColor','BGColor'],
	['FitWindow','ShowBlocks','-','About']		// No comma for the last row.
] ;
	
	//4.加上几种常用的字体
	FCKConfig.FontNames='宋体;楷体_GB2312;隶书;Times New Roman;Arial;微软雅黑';

	//5.修改“回车”和“Shift+回车”的换行行为
	FCKConfig.EnterMode = 'br' ;			// p | div | br(Enter键：换行)
	FCKConfig.ShiftEnterMode = 'p' ;	// p | div | br(Shift+Enter键：另起一段)
	
	//6.配置修改表情图片
	FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
	FCKConfig.SmileyImages	= ['1.gif','2.gif','3.gif','4.gif','5.gif','6.gif','7.gif','8.gif','9.gif','10.gif','11.gif','12.gif','13.gif','14.gif','15.gif','16.gif','17.gif','18.gif','face1.png','face2.png','face3.png','face4.png'] ;
	FCKConfig.SmileyColumns = 8 ;
	FCKConfig.SmileyWindowWidth		= 600 ;
	FCKConfig.SmileyWindowHeight	= 400 ;
	
	//7.允许上传的图片文件的扩展名
	FCKConfig.ImageUploadAllowedExtensions	= ".(bmp|jpg|gif|jpeg|png)$" ;		// empty for all
	//8.允许上传的Flash文件的扩展名
	FCKConfig.FlashUploadAllowedExtensions	= ".(swf|flv)$" ;
	
	